package sunwul.hospital.hosp.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import sunwul.hospital.model.model.hosp.Schedule;

import java.util.List;

/**
 * @author sunwul
 * @date 2023/11/5 15:10:39
 * @description
 */
public interface ScheduleService extends IService<Schedule> {

    // 根据医院编号与科室编号查询排班信息(分页)
    Page<Schedule> getScheduleByPage(Long current, Long limit, String hoscode, String deptcode);

    // 查询排班详细信息
    List<Schedule> getScheduleDetail(String hoscode, String deptcode, String workDate);
}
